#ifndef __MOX_MASTER_C_H__
#define __MOX_MASTER_C_H__

void mox_master(schanend chan_mox[NUM_CORES]);
void mox_slave_service(unsigned st, int core_num);
void mox_slave_no_respond(unsigned st, int core_num);

#ifndef __XC__
void *mox_send_cmd(mox_master_state *state, mox_cmd_t cmd, int core_n, int core_n2);
int mox_log_req_add(mox_master_state *state, chanend add);
void init_master(mox_master_state *state, chanend log, chanend log_core);
int mox_send_init_crth(mox_master_state *state, void *func, int core_id, int stack, char *name);
#endif

#endif //__MOX_MASTER_C_H__
